package Change;

import book.Book;

import java.util.Scanner;

public class ChangeAuthor extends Change{
    public void change(Book book) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入修改后的作者:");
        book.setAuthor(scanner.nextLine());
        System.out.println("修改成功");
    }

}
